package pattern.factory;

public abstract class Pizza {
	String name;

	void bank(){
		System.out.println("banking...");
	}
	
	void cut(){
		System.out.println("cutting...");
	}
	
	void box(){
		System.out.println("putting in box...");
	}
	
	abstract void prepare();

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
}
